package cn.pn.project.module.commodity;


import cn.pn.project.pojo.commodity.Commodity;
import cn.pn.project.pojo.commodity.Showtype;
import cn.pn.project.pojo.commodity.Sku;
import cn.pn.project.pojo.commodity.Ticketinginfo;
import cn.pn.project.pojo.schedule.Commoditysession;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

public class CommodityModule extends Commodity implements Serializable {
  public CommodityModule(){}
  public CommodityModule(Integer commodityId, Integer typeId, Integer clildTypeId, Integer cityId, String commodityName, Timestamp startTime, Timestamp endTime, String imgUrl, long star, long status, Timestamp putDate, long isSeat, long buyAmount, String commodityDetails, Integer isDel, Integer ticketInfoId, String more1, String more2, String more3, List<Sku> skuList, List<Commoditysession> comSessionList,  Showtype type, Showtype clildType, Ticketinginfo ticketinginfo, List<SkuModule> skus) {
    super(commodityId, typeId, clildTypeId, cityId, commodityName, startTime, endTime, imgUrl, star, status, putDate, isSeat, buyAmount, commodityDetails, isDel, ticketInfoId, more1, more2, more3, skuList, comSessionList);

    this.type = type;
    this.clildType = clildType;
    this.ticketinginfo = ticketinginfo;
    this.skus = skus;
  }
  //票档
  //场次
  private Showtype type;
  private Showtype clildType;
  private Ticketinginfo ticketinginfo;
  List<SkuModule> skus;



  public Showtype getType() {
    return type;
  }

  public void setType(Showtype type) {
    this.type = type;
  }

  public Showtype getClildType() {
    return clildType;
  }

  public void setClildType(Showtype clildType) {
    this.clildType = clildType;
  }

  public Ticketinginfo getTicketinginfo() {
    return ticketinginfo;
  }

  public void setTicketinginfo(Ticketinginfo ticketinginfo) {
    this.ticketinginfo = ticketinginfo;
  }

  public List<SkuModule> getSkus() {
    return skus;
  }

  public void setSkus(List<SkuModule> skus) {
    this.skus = skus;
  }
}
